/**
 * 
 */
package sort.result;

import java.io.Serializable;

import sort.record.Records;

/**
 * @author masaru-gotou
 *
 */
@SuppressWarnings("serial")
public class SortResult implements Serializable {
	/**
	 * 
	 */
	private String algorithmName;
	private int recordCount;
	private long elapsedTime;
	private long usedMemory;
	private boolean sorted;
	private boolean stabled;
	private boolean validated;
	private Records sortedRecords;
	
	public String getAlgorithmName() {
		return algorithmName;
	}
	public void setAlgorithmName(String argoName) {
		this.algorithmName = argoName;
	}
	public int getRecordCount() {
		return recordCount;
	}
	public void setRecordCount(int recordCount) {
		this.recordCount = recordCount;
	}
	public long getElapsedTime() {
		return elapsedTime;
	}
	public void setElapsedTime(long elapsedTime) {
		this.elapsedTime = elapsedTime;
	}
	public long getUsedMemory() {
		return usedMemory;
	}
	public void setUsedMemory(long usedMemory) {
		this.usedMemory = usedMemory;
	}
	public boolean isSorted() {
		return sorted;
	}
	public void setSorted(boolean sorted) {
		this.sorted = sorted;
	}
	public boolean isStabled() {
		return stabled;
	}
	public void setStabled(boolean stabled) {
		this.stabled = stabled;
	}
	public boolean isValidated() {
		return validated;
	}
	public void setValidated(boolean validated) {
		this.validated = validated;
	}
	/**
	 * @param sortedRecords the sortedRecords to set
	 */
	public void setSortedRecords(Records sortedRecords) {
		this.sortedRecords = sortedRecords;
	}
	/**
	 * @return the sortedRecords
	 */
	public Records getSortedRecords() {
		return sortedRecords;
	}

}
